<template>
  <div class="com">
    <div class="seachlist">
      <h3 style="width:100%;">条件筛选</h3>
      <div class="listitem">
        <div class="itemname">统计时段</div>
         <el-date-picker
      v-model="value1"
      style="width:250px;"
      type="monthrange"
      range-separator="至"
      start-placeholder="开始月份"
      end-placeholder="结束月份">
    </el-date-picker>
      </div>
       <div class="listitem">
        <div class="itemname">媒介类型</div>
        <el-select v-model="value" style="width:200px;" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </el-select>
      </div>
 <div class="listitem">
        <div class="itemname">媒体</div>
        <el-select v-model="value" style="width:200px;" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </el-select>
      </div>
      <div class="listitem">
        <div class="itemname">节目</div>
        <el-select v-model="value" style="width:200px;" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </el-select>
      </div>
    </div>
    <div class="infocom">
      <h3>统计纬度</h3>
      <div class="infocomitem">
        <div class="name">时间</div>
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="年"></el-checkbox>
    <el-checkbox label="季"></el-checkbox>
    <el-checkbox label="月"></el-checkbox>
    <el-checkbox label="日"></el-checkbox>
  </el-checkbox-group>
      </div>
       <div class="infocomitem">
        <div class="name">区域</div>
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="地区"></el-checkbox>
    <el-checkbox label="省份"></el-checkbox>
    <el-checkbox label="城市"></el-checkbox>
  </el-checkbox-group>
      </div>
       <div class="infocomitem">
        <div class="name">城市</div>
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="人口规模"></el-checkbox>
    <el-checkbox label="工业总产值"></el-checkbox>
    <el-checkbox label="GDP"></el-checkbox>
    <el-checkbox label="人均可支配收入"></el-checkbox>
  </el-checkbox-group>
      </div>
       <div class="infocomitem">
        <div class="name">资源类型</div>
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="媒介"></el-checkbox>
    <el-checkbox label="频道"></el-checkbox>
    <el-checkbox label="资源类型"></el-checkbox>
  </el-checkbox-group>
      </div>
       <div class="infocomitem">
        <div class="name">广告主类型</div>
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="大类"></el-checkbox>
    <el-checkbox label="中类"></el-checkbox>
    <el-checkbox label="小类"></el-checkbox>
  </el-checkbox-group>
      </div>
    </div>
    <div class="infocom">
      <h3>统计指标</h3>
      <div class="infocomitem">
        <!-- <div class="name">广告主类型</div> -->
          <el-checkbox-group v-model="checkList">
    <el-checkbox label="销售额"></el-checkbox>
    <el-checkbox label="市场份额"></el-checkbox>
  </el-checkbox-group>
      </div>
      <div class="btom" style="width:50px;">  <el-button type="primary">数据统计</el-button></div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      options: [
        {
          value: "选项1",
          label: "黄金糕"
        },
        {
          value: "选项2",
          label: "双皮奶"
        },
        {
          value: "选项3",
          label: "蚵仔煎"
        },
        {
          value: "选项4",
          label: "龙须面"
        },
        {
          value: "选项5",
          label: "北京烤鸭"
        }
      ],
      value: "",
      value1: "",
      checkList:[]
    };
  }
};
</script>
<style lang="scss" scoped>
.seachlist {
  width: 97%;
  
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  .listitem {
    width: 50%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    .itemname {
      width: 100px;
    }
  }
}
.infocom{
  width: 97%;
  margin: 0 auto;
  .infocomitem{
    display: flex;
    align-items: center;
    height: 30px;
    .name{
      width: 100px;
      font-size: 15px;
    }
  }
  .btom{
    margin: 0 auto;
  }
}
</style>